package com.lucy.property.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "单元更新参数")
public class UnitUpdateParams {
    @NotBlank(message = "ID不可为空")
    @ApiModelProperty("单元ID")
    String id;

    @ApiModelProperty("单元编码")
    String unitCode;

    @ApiModelProperty("单元名称")
    String unitName;

    @ApiModelProperty("单元地址")
    String location;

    @ApiModelProperty("单元备注")
    String remark;
}
